import request from '@/utils/request'

const API = '/admin/hosp/schedule'

export default {
  getSchedulePage(pageNum, pageSize, hoscode, depcode) {
    return request({
      url: `${API}/${pageNum}/${pageSize}/${hoscode}/${depcode}`,
      method: 'get'
    })
  },
  getDetailSchedule(hoscode, depcode, workDate) {
    return request({
      url: `${API}/${hoscode}/${depcode}/${workDate}`,
      method: 'get'
    })
  }
}
